package com.codecash.service;


import com.codecash.entity.FeedBack;
import com.codecash.entity.User;

public interface UserService {

    //根据用户名查询用户
    User findByUserName(String username);
    //注册
    void register(String username, String password,String email);

    //更新头像
    void updateAvatar(String avatarUrl);

    //更新密码
    void updatePwd(String newPwd);
    //查询邮箱
    User findByEmail(String email);

    void updatePartial(Integer userId, String username, String email);
    //用户反馈
    void addCall(FeedBack feedBack);
}